package com.qd.hik.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 〈一句话功能简述〉<br> 
 *
 * @author sjk
 * @create 2024-05-29 14:57
 * @since 1.0.0
 */
@Data
@Accessors(chain = true)
public class HkPageReq {
    /**
     * 页数
     */
    @NotNull(message = "页数不能为空")
    private Integer pageNo;
    /**
     * 每页条数
     */
    @NotNull(message = "每页条数不能为空")
    private Integer pageSize;

    public void freeData() {
        this.pageNo = null;
        this.pageSize = null;
    }
}